<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
	<meta charset="UTF-8">
	<title>登录页面</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/webbase.css"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/pages-login-manage.css"/>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
</head>
<body>
<div class="loginmanage">
	<div class="py-container">
		<h4 class="manage-title" style="text-align: center">登录页面</h4>
		<div class="loginform">
			<ul class="sui-nav nav-tabs tab-wraped">
				<li class="active" style="text-align: center">
					<h3>用户登录</h3>
				</li>
			</ul>
			<div class="tab-content tab-wraped">
				<%--登录提示信息--%>
				<span style="color: red">${msg}</span>
				<div id="profile" class="tab-pane  active">
					<form id="users" class="sui-form" action="${pageContext.request.contextPath}/login"
						  method="post">
						<div class="input-prepend"><span class="add-on loginname">用户名</span>
							<input type="text" placeholder="请输入用户名" class="span2 input-xfat" name="name">
						</div>
						<div class="input-prepend"><span class="add-on loginpwd">密码</span>
							<input type="password" placeholder="请输入密码" class="span2 input-xfat" name="password">
						</div>
						<div class="logined" style="text-align: center">
							<input type="submit" style="font-size: 20px" value="登&nbsp;&nbsp;录" >
						</div>&nbsp;

					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
<script type="text/javascript">
	/**
	 * 登录超时 展示区跳出iframe
	 */
	var _topWin = window;
	while (_topWin != _topWin.parent.window) {
		_topWin = _topWin.parent.window;
	}
	if (window != _topWin)
		_topWin.document.location.href = '${pageContext.request.contextPath}/admin/login.jsp';
</script>
</html>
